import requests
class RegisterApi:
    def sess(self):
        self.session = requests.Session()
        self.session.get(url="http://hmshop-test.itheima.net/index.php?m=Home&c=User&a=verify&type=user_reg&r=0.39038919028921115")

    def tpshop(self,req_data):
        resp = self.session.post(url="http://hmshop-test.itheima.net/Home/User/reg.html",
                            data=req_data)
        return resp


